//
//  Log.swift
//  CXSwiftDemo
//
//  Created by 潮汐 on 2023/11/25.
//

import Foundation

func CXLog<T>(_ msg: T,
            file: NSString = #file,
            line: Int = #line,
            fn: String = #function) {
#if DEBUG
    let prefix = "类:\(file.lastPathComponent)_第\(line)行_函数:\(fn):"
    print(prefix, msg)
#endif
}
